﻿using CQIE.LabAssist.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CQIE.LabAssist.DataAccesss
{

    public interface IFloorService
    {
        //根据楼栋id获取所有楼层
       JsonResult getAllFloor(int buildingId);

        //新增楼层
        bool addFloor(Floor floor);

        //删除楼层
        bool deteltFloor(int floorId);

        //更新楼层
        bool updateFloor(Floor floor);
    }
}
